package org.nfyszny.zzzs.modules.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 供货能力备案
 * @Author: jeecg-boot
 * @Date:   2022-11-11
 * @Version: V1.0
 */
@Data
@TableName("zzzs_record_of_supply_ability")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="zzzs_record_of_supply_ability对象", description="供货能力备案")
public class ZzzsRecordOfSupplyAbility implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**产品名称*/
	@Excel(name = "产品名称", width = 15)
    @ApiModelProperty(value = "产品名称")
    private String productName;
	/**产品上市时间*/
	@Excel(name = "产品上市时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "产品上市时间")
    private Date timeToMarket;
	/**持续供货时间*/
	@Excel(name = "持续供货时间", width = 15)
    @ApiModelProperty(value = "持续供货时间")
    private String supplyTime;
	/**供货量*/
	@Excel(name = "供货量", width = 15)
    @ApiModelProperty(value = "供货量")
    private String supplyQuantity;
	/**供应时间*/
	@Excel(name = "供应时间", width = 15)
    @ApiModelProperty(value = "供应时间")
    private String availableTime;
	/**产品id*/
	@Excel(name = "产品id", width = 15)
    @ApiModelProperty(value = "产品id")
    private String productId;
	/**状态*/
	@Excel(name = "状态", width = 15)
    @ApiModelProperty(value = "状态")
    @Dict(dicCode = "record_status")
    private Integer status;
    @Dict(dictTable = "sys_user",dicCode = "id",dicText = "realname")
    private String approverId;
    @TableLogic(value = "1", delval = "0")
    private Integer isDelete;

}
